package com.hfjyz.registration.dao;

import java.util.List;

import com.hfjyz.registration.model.User;


public interface UserDao {

    public Integer add(User user) throws Exception;

    public User getByIdCardNo(String idcardno, Integer examId) throws Exception;

    public List<User> findUserName(String userName) throws Exception;

    public User get(int id) throws Exception;

    public void delete(int id) throws Exception;

    public void update(User user) throws Exception;

}
